﻿using NodeEditor;

namespace ETHotfix
{
    [NodeEvent(typeof(LogNode))]
    public class LogNodeHandle : NodeHandle<LogNode>
    {
        const string value = "value";
        protected override void OnHandle(RuntimeTree runtimeTree, RuntimeNode runtimeNode, LogNode data, Unit unit)
        {
            var input = runtimeNode.GetInputValue(value);
            UnityEngine.Debug.Log(input);
        }
    }
}